#pragma once
#include <xpam/point.h>
#include <xpam/ui/window_for_messages.h>
#include <string>

namespace xpam
{
	namespace ui
	{
        class menu
		{
            window_for_messages wnd;
		public:
            void create();
            void destroy();
            int show(const xpam::point<int> & point);
            void append(const std::string & text, int id);
            void append_separator();
        private:
            void * _m;
		};
	}
}